package com.yxe.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yxe.pojo.Expense;
import io.swagger.models.auth.In;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lzq
 * @since 2022-12-09
 */
public interface ExpenseService extends IService<Expense> {


    /**
     * 查询房间费用
     * @param id 用户id
     * @return 费用
     */
    Expense findByUserId(Integer id);

    /**
     * 修改余额
     * @param
     */
    void updateExpense(Integer payType, Float payMoney, Integer userId);
}
